TST: Fix tests for _to_dense
Merge branch 'issue-290' of github.com:wasade/biom-format into issue-290