Adding libraries and tests