templates improvements, biblib test