[tests] fix bugs. existing tests passed. Fix add functions (removed concat and push). Added simple rename config