Feature/sections primaryfix

Added new unit tests for add section and update existing unit tests cases
this test does not have a test.