Updated test script to include new logging format as well as starting/stopping the api during the test run.