libraries and unit tests