created a shared library for test_page

moved pageloader_test to use it
updated pageloader_test to use compact config (like web driver test)