Better test for empty location