Fix tests for notifications when unlocking users