Add basic unittest support.