Bug fix for YapDatabaseRelationship extension - error log in the wrong place
Adding unit tests for issue #54