Test for replace class added