add some tests and fix "PossibleSingle" tag parsing