Mock for testing modules