change base url and update sample test case