tested mocking various kinds of classes