Added a test for valid models