added tests for respond_with