added db/seed.rb to tests
added tests integration test for json output