added some functional tests for the secure section of the demo bundle