On current master a fresh wallet created with -usehd=0 is silently created as HD wallet. An error should be displayed on the first run. Also, this restores a test that was removed in c22a53c Fixes: #11313
Backport of core PR11307
https://github.com/bitcoin/bitcoin/pull/11307/files