Move Endpoints tests into the right place.
Merge pull request #523 from square/jw/endpoints-test

Move Endpoints tests into the right place.