Additional test changes based on whether mocking is enabled or not.