fix error in test needs a string