revert failing test
fix output and add random padding option