tests for csrf tokens
naming
hasttr -> getattr
Merge pull request #13 from jmcriffey/master

Tests for csrf tokens