mod_atom: fix unit test