Versions lower than 3.3 now require mock for testing
Satisfied linting