fix addBuildset, and its test coverage