simplify tests assertions