Basic utilities for writing tests