A manufacturer of lightbulbs claims that the lightbulbs produced fall into five categories A, B, C, D, and E by quality, from highest to lowest, and that the percentages of lightbulbs in these five categories are 15, 25, 35, 20, and 5 respectively. A contractor who purchases a large number of the lightbulbs tests the claim by taking a random sample of 30 lightbulbs and observes that the numbers of lightbulbs that fall in the categories A, B, C, D, and E are 3, 6, 9, 7, and 5 respectively. Test whether the manufacturer is speaking the truth, using a chi-square test
(i) at 5% significance level;
(ii) at 1% significance level.