Tests for states