Test for correct state