convert test module to Moo