fixed session and user tests