Adding missing dispose() at the end of test cases with stateful sessions. Adding and fixing comments.