better asserting flashes