Fix update tests, pep8 cleanup and making travis fail on out of date testcases.jsonp