Tests for Parser / Document