Func test working, removed final logging in shutdown as was reporting a problem in test phase