Improved comment and added test case.