Added test to ensure time is cleared to UTC midnight when selecting date. Also refactored that test