Update JSessionTest.php

Fix the failing session test. ```getFormToken``` calls ```JFactory::getSession``` so we need to set the session in JFactory