[Bug 875418] Move settings_test back to root.

This is imported by another package, so we don't get to control where it
lives. Maybe this means the other package needs changing.
[Bug 875418] Make ES index names functions.