Added utilities for cleaning and generating a test bed.