refactory test is valid?