Added test_pxweb_api() function