new attempt at fixing session but commented test which fails