add internal function(rstrip/1 and join/2) tests.