making test generator take strings