Update perc_test.cpp