modified gemfile, added test for helper method viewDate