Add unit test for class PeterNorvigAlgorithm