improve test build