Add UT for HSS synchronization, and a few code tidy-ups
Merge pull request #86 from Metaswitch/sto281_ut

[No review required] Add UT for HSS synchronization, and a few code tidy-ups