Update the tests to use 'project.get_pymodule'.