Add tests for -e.