moving state tests to environmentserver