Bug Correction in Session.Test.class