Build test library.