Added unit_test for wab_close_mod