chore(tests): Fixed a test case for timepicker.