Added test for errors on creating restaurants