Added test_fit_signal to cunit test