Add test for location when POSTing a single document