Testing changed state