Small utilities for testing with TestNG