test helper method for dates in heroku