move rspec tests and fix to actually test spy