fixed python linkage with new test levels