Add test for menu extensions positioning

To satisfy #172 I added a test to ensure that menu extensions positioning works.