use blocks in switch cases in outliner
add more outliner testing