test for ecs and server