Ruby on rails with Devise 3.2 Test file for Csrf attacks