Make functions virtual for UTs
Merge pull request #30 from Metaswitch/make_virtual

[No reviewer] Make functions virtual for UTs