redesigned ImportedFunctions.add() to throw IllegalArgumentException instead of FunctionAlreadyRegisteredException
refactored TestingProblemsListener out of SyntaxParserTest