Basic unit tests for API and DS lib.