rails-api that serves restful JSON with tests