add Rakefile
add Gemfile
refactor tests
Merge pull request #1 from fntzr/tests

Tests refactored by fntzr