updated gemfile.loc and created category unit testing