Set up getTestJson function
add cpResource to test_config.js
Todo add some resource validadion...
Merge branch 'json_test_stages'