Fixed setUpClass bug in serial runner

Change-Id: Ife5b44dee3ec7ba67a8b5d3a787c0eda125bfa34