Test that receiver id is set correctly