use local views for tests instead of relying on djangos views
Merge pull request #11 from jsatt/master

fix tests to not rely on django views that don't exists in 1.4