cleaning up tests and getting flow stats working with tag management