write some rspec tests
aded prepare test travis script
rewrite travis scripts
Merge pull request #1 from Olefine/tests

Tests