Register ids with canonical id has not been updated when a notification
is sent. Test code are written for this bug.
resolve #297