Added a few simple test cases of method checkWN. Need more. Fixed a bug in checkWN.