tests for E-needstest

@alexcrichton @jakub-