Move example to example_test.go