Refactor endpoint_spec to keep tests concerned with only one thing

If you ever did want to change the default location constraint, it should not effect the defaulting logic itself. This change turns one test into two smaller ones.