Updated checker to test nesting level.