Fix 'develop' tests

a pull request to enable users to follow the `contributing` documentation by:
 * improve linting
 * fix tests