Adding unit test to Peter Norvig algorithm.