adding failing unit tests and stubs for handleMessage and formatTime