[minor] addPage method, small fixes to code comments
[tests] improved addPage