Make library; add test example.