Fix tests

About a month ago the unit tests broke because composer now places the autoload.php in vendor/ not vendor/.composer

I found that if the timezone on the machine running the tests isn't UTC the 2 time tests fail.  They are fixed in the second commit of this pull request.

These fixes should get the tests passing on Travis again.