method cache tests [ci skip]