Add test for Popover closeOnClick

Also removes unncessary keyup evet