updating test-models target to fail if the command test fails