Fix version check in messaging tests
Fix a bug in the agent. Variable check was not done correctly.
Merge pull request #48 from vincent-zurczak/master

Check variables correctly during export request