closes #11 - 100% test coverage

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
Merge branch 'csrf' into develop