Fix timepicker test
Merge pull request #1798 from lukasolson/timepicker-test-fix

Fix timepicker test