assert pseudo class is not a function