tests for string padding