Fixing getType
Improving OTNCompilerTest to cover Hashed and Beta nodes