Fix datatype handling for tests

Depends on biocore/biom-format/#314