Start to implement testSetShares method in CpuTest.java.