1) fixed a bug in getNounsAfterPtn(). 2) Added a test case to getNounsAfterPtn() and tested it.