address #227
Merge remote-tracking branch 'origin/master' into generic_error_handling
Added conditions to to_obj() in yara test mechanism
Merge pull request #228 from STIXProject/generic_error_handling

Generic error handling