Fix tests depending on CSS class 'first'