Added tests for PEP8 and complexity.

Closes #5 and #7.