Code format and menu test