revision of libs and tests