Set custom response class in test environment

Custom response class has `json` method to help test JSON responses:

    def test_json(client):
        res = client.get(url_for('ping'))
        assert res.json == {'ping': 'pong'}
Update version number