actually raise error in tests