refractoring test suite