added tests for padRight