Adding elements to a service test

To improve the reliability of the test script, add the different elements to the service test.