Added some comments
Fixed a typo in the test