libslsts: Added unit_test.h and misc changes