adding createParserForwardedToRef and tests demonstrating usage