add test + correction when models is empty. 1.0.0-alpha3