tests: test for mocking methods that need a class tag