Add unit tests for Livestatus.test()