Alex Henrie : riched20: Fix link notification conditions and add tests.