added tests for time bar controller