Fix failing specs from API endpoint change, and DRY up endpoint references so that future changes will automatically apply to tests.