Add JS API tests for rich:panelMenu

JS API doesn't work (RF-12778), but tests covering expected behavior