Hypothesis Testing in Imaging Inverse Problems