Fixed an error in the IndexSpace comparison method and make format_as errors more informative
Fixed typo
Formatting.
Added test for IndexSpace comparison operators
Merge pull request #617 from bartvm/index_space

Index space