Test lib structure.