Added tests for upp length and return string.