Add test for timer functionality

Add a basic version of the timer functionality for testing