Added getAllCommits to Broker.
Added tests for getting all commits.