tests for appbase: patch, setEdge at different levels