tests: Added tearDown for async tests

Signed-off-by: Joe MacMahon <joe.macmahon@cern.ch>