Made tests more accurate with have_selector