checkElements should receive the assert object