Fix get_or_create and create_or_fail tests and add SMART_ERRORS for those functions
Fixes test_filter_nodes_complex_lookups test for empty databases