fixes to base32/lob handling and more tests of it