implemented test for simple assignments