added a test for TS monitor
cleaning directory