removed try/catch blocks for fac model query engine usage
added tests for null queries
fixes #564 - remove try-catch for control flow