magnetometry: added test_adwin function -C