Fix filemap tests