Bug fix in services.py and more complete tests for TimerService.