Add docs and unit tests for horizon

Change-Id: If64cd03117a7b3876dd070a2aad68801754a8349
Merge "Add docs and unit tests for horizon"