Tests for State