Move simple examples from README to examples_test.go