Simplying test assert