Add db tests for updateMergedBuildRequest