use mock_module to try to solve documentation problem