Added tests for respondsTo