Add some tests for assignment from system/magic commands