Updated unit tests to no longer use mocks of DateTime
Updated the requirement of phpunit/phpunit to ~4.0