Added tests for metadata repository. Added tests for commit-job

Change-Id: Ie0190f995afbabdb0d143ea45ef1de38e8ae209f
Merge "Added tests for metadata repository. Added tests for commit-job"