Rewrote the test to avoid using to_time method that caused rails3 version of the build to fail