Fix most of the failing functional tests in test_sample_tracking.py.