added testAssignment