Moved test function in the same order of the model class