Add preliminary tests for stockholm reader

Uncovered some bugs in the current parser, see #676.