Updated StringBuilder test to cast to right constructor.