Add functional test

- Adds a basic functional test
- Also tests the library on go 1.3
If you didn't get all the events you'll hang here -- should never happen but you might want a timeout.