Fixed most vexing parse in test