Update the lua test cases about the GUI