In another bowl, cream the butter, brown sugar and vanilla with an electric mixer. Add the egg and whisk until smooth. Add the dry ingredients, alternating with the milk. Add the chocolate and the grated pears and mix to combine. Pour the batter into the prepared tin. Place the pear slices down the centre of the cake, rounded side up, pressing them into the batter until covered almost halfway.