def test_beta(self):
        beta, mse = self.cobra_diagnostics_ewa.optimal_beta(self.test_data, self.test_response)
        expected_beta, expected_mse = 0.1, 0.07838339131485009
        self.assertAlmostEqual(expected_beta, beta, places=3)
        self.assertAlmostEqual(expected_mse, mse, places=3)