BS-8301 : Fix tests in error on Engine

- Check if it exists supervisor after the end of the tests