fixes test cases correctly based upon type changes