Try fixing JSession::getInstance test