Test Rails project with cookies