Added test for Moopapi::register()