Check if relationship definition is a string or object to avoid breaking changes
Added tests for async option