improve server test in test-ext