Added basic tests for the libraries and the search API