GEOMESA-153 Remove class cast exception

* Avoids a class cast exception in a test.