Tests for invalid tag delimiters and baseContext