Fix requiring of test models