adding better error reporting to identify failing assertions