fix test module name
change test for defer