fix(tests): fix tests for NotFoundExceptions