Add a test for assignment change tracking