Add draconian linting to tests, fix lint, use assert rather than expect