testing menu behavior using jquery