basic test cases for pages
added missing test global setup
updated main to be called without config