fix example code for mock example

Link: http://biosal.s3.amazonaws.com/quality-assurance-department/2014-08-25-03:01:02.log
Link: http://biosal.s3.amazonaws.com/quality-assurance-department/2014-08-25-03:01:02.tar.xz
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>