Add InsertMenuA and some testcases