Lighten wsgi and test.
Refactor.
Merge pull request #17 from serathius/tests

Lighten Wsgi