Complete CpuTest#testSetShares test case.