[TEST] - Cleaning up unit tests to work with PhantomJS.

PhantomJS isn't as friendly as some browsers when it comes to creating dates from strings (like chrome is)

var myDate = new Date("2014-04-01 11:15:00 PM");

 fails in PhantomJS. most likely because it's not a standard way to create dates. to do this in a cross-browser format you can use the all numbers approach:

 var myDate = new Date(2014,4,1,23,15,0);