fixing WebResourceSampleTestCase and adding common test cases to verify server startup status