Tests for StateView and StateViewEndpointCollection