refactoring
tests run fine
added new test ClockTest
refactoring and adding new tests
refactoring of code
refactoring of test