test build script with lsof