ensure updating the position of the cursor if removing an item preceding it
ensure to wrap the macro body in a block to allow safely using it in bracketless if statements
preliminary unit tests

more tests still need to be written