changed assertions from EQ to ANY_THROW