fixed test env
added tests
added Gemfile for Bundler