[tests] adding stronger tests for the nesting feature