Hypothesis testing with a continuously monitored quantum system