Fixing cleanup

The test of cleanup failed to catch the issue due to a misplaced bracket

Death and life by the hand of the the bracket ;)

Ronen