moving test util to test module