test_cosinor_components function

Test for differences in a cosinor model between components.