Reformated the tests with autopep8
Added tests for the user template
Reformated setup.py with autopep8