Feature/sections primaryfix

Added new unit tests for add section and update existing unit tests cases
ok, it might be good to add that note as the doc string. it's more descriptive of what the test is doing.