Added tests for the libraries.