completes test_basic after sorting source into ebands