Fixed incorrect datatype conversion on multi-indexes
Fixed test to use assertTrue
Simplifying tests to write and read back