Fix _test() in models.