changed assertion style