Session tests and minor fix
changed checked_referer to referer_check
Merge pull request #33 from RonnieSkansing/master

Session tests and minor fix