Changed error assertions to work like all other assertions