Unit testing for RiakIndex classes