Fixing the hover test