fix assert tests