Define a custom assertion near tests