fixed test for restaurant creation from a reference