move test to example