test for assigment