Tests for client.
Enable pep8 on travis.