Fixed a small bug where ie. 9:00am is equal to 9:00pm.
Updated unit test.