Added test for cached instance methods