Library unit tests

TODO develop TestCase that eliminates boilerpate code with PseudoCvsServer and timeouted waiting on operation results.