Fix set_build_description error handling
Changed set_build_description arg 'append' to 'replace'
Improved test coverage