Added tests for _add_build