documentation typo
added extra test cases