tests for commitSourcesAndCreateTag