Handle module names in test dir.