attempt at json rspec test