added example_test.go, containing Example() function.