converted timeago test to jasmine