Updated junit tests to match actual requirements for sessions