tests: adding a very minimal C based test to check the client lib.