Fix cache name and add tests for the module file