Fix buildModuleUrl tests.