cleanup in framework test