added new test for content definition access, github issue 300
use global variable
Merge pull request #306 from hhovsepy/master

added new test for content definition access, github issue 300