order of operations and more tests