Added a new test case to method checkWN(), and fixed a bug in method isNoun().