grouped all utilities functions used in tests into a class