(LUN-782) Review changes

Changed rstrip() with strip() and modified tests accordingly;
Removed some unnecessary comments.