better test case for order of operations