testing the restaurant mapper from json