Adding missed reference to assert