Add tests for Bar and Timer