Fixed the if_statement.rdo example

The “if_statement.rdo” example didn’t actually work due to an
undeclared variable called “test”. That’s been fixed and the example
now runs correctly.