Fix error when trying message tester

Some errors show up when following the tutorial on the part where messagetester is used. These errors are fixed by including those variables.