Buying a couple cheap bikes to test is a great idea if you can afford that.
An MTB can work anywhere if you swap tires---or have two sets of wheels. Mount slicks on one set and knobs on the other.
I'd worry that a hybrid might not be up to---or designed for---the real off-road stuff.