This commit adds unit tests for exposed methods in qinling.orchestrator.
This commit only covers branches and exceptions found in the exposed
methods. Those in internal helper functions would be covered by a
following patch.
Change-Id: I47df26435d93a3dc310314252cd20e624b4d0bb2