Added Travis-CI configurations and rspec test.