add test for example