Remove test directory, and add rspec tests