pass nestedMenu as parameter
add menu tests