Adding libraries and test.