Implemented correct pre_test in Session.