I don't think a "reality check" kind of test will work.
Whatever aspect of your waking reality you take for granted, you'll never know if maybe your waking reality has changed. Maybe someone has invented something you didn't know about (an implant that allows people to breathe under water); maybe God has changed the physical laws; maybe magic does exist. Who knows. You simply cannot be certain. We don't yet understand our reality enough to make 100% predictions. Basically, anything at all is possible, however unlikely it may seem to us at the moment. People a few hundred years ago would see much of what we take for granted today as magic.
But I don't think you need a logcial test. Because the difference between a dream and being awake is not how the respective reality works, but that you yourself are in a different physiological and psychological state. In everyday life you are never mistaken about when you are awake. You may experience certain moments during a dream, usually shortly before you come awake, when you are not sure if you are dreaming or not. But as you slowly wake up and your waking mind begins to consider the dream that your dreaming mind is immersed in, you easily notice that the ringing is your alarm clock and you are not naked in a bar, that is you understand which perceptions are part of the dream, and which are real and come from outside of you. When you are really awake, it simply feels like being awake. Your perceptions are different, your mind works different, and you yourself feel different and know that you no longer sleep.
So I would say, the test is quite simple:
When you wonder if you are dreaming or awake – you are dreaming.
This, of course, goes for a healthy mind. Drugs, mental disorders, and stress, can change your perceptions.