infinite loop in menu integration test fixed