Add functional test

- Adds a basic functional test
- Also tests the library on go 1.3
just use `nil` in place of `NewClientConfig()`