added initial unit test for compute_mahal