Refactoring of asserts:adding comments