fixed Gemfile lock issue, added a test for models