Fixed bugs in basic performance tests