Added test for variable assignment