Adjusted voting tests to work with new validation
Fixes bug where session variable is not set if visting the study page directly. Fixes #215.