added dynamic options to timer and added more tests