Write a test for #323
Fix #323 - points not updating correctly.