added testing of add/delete restaurtant and handling of javascript alert