Add test for missing relationship