Feature/sections primaryfix

Added new unit tests for add section and update existing unit tests cases
the mock arguments are not in the right order. mocks are passed in to the function in the same order they applied.