Fix Base32 decoding misidentifying padding where there is none.
Add some test routines.  Base32 now tests as working for encode and decode.