fix tests and add test for requesting model in error state