test all .js files in test folder
use cookie module to parse cookies in csrf test
add hidden csrf field to view
major tests refactoring