improved several tests removing unnecessary html + adding a console log in the random spec