fixed compilation errors in testpci.cpp
send a read requests of multiple lengths