Test beam results of CMS quartz fibre calorimeter prototype and simulation of response to high energy hadron jets