added test script for padding
(#238)