Move this test toghether with the others, and set the appmenu only after the application is registered (i.e. in startup) https://bugzilla.gnome.org/show_bug.cgi?id=678978