Fixed broken unit test setup