improve test executable