added tests for inverted sections