add a little extra checking on tests