Fixes to Tests

- Now runs with testr
- flake8 skips contrib
Merge pull request #9 from ziadsawalha/tests

Fixes to Tests