Return the timepicker constructor
Use spy instead of fired
Use single tick quote
Replace isOpen state with DOM check