Update notifications tests for more flexible target checks