Forms: added tests for CsrfProtection::validateCsrf()