Null test for interactions in the dark sector