Add a test to ensure no null state is returned