add --test-server flag to reduce dependencies