Add test to make sure menuinst is always linked/unlinked first