Move test cpu shares out of test start

Fixes #2107