Change the test function to support string parameters