Add function to test for "phantom" state changes.
Enable "phantom" checking. Also includes other automated change.