test errors with instances not in db