A simple quantum test for smooth horizons