add test for polymorphic respond_with case