More testing for parser and stubbify

All tests pass
Very complicated considering it just needs to match <!-- STUB -->. No need to be too generic here - it's a fixture after all.