Added state changes to test further.