testing crud mw_factory