Mocking isolator test