Pass res object to assert step