A hyperelliptic smoothness test, I