added tests for zero-padded privkeys