Added unit test for respond_to
Implemented #respond_to?