Refeator constants out of ParserTest