Added tests for string controller.