Basic utilities for writing tests in perl