Add Tests for Various Endpoints

This adds some tests for various endpoints, including `scratch.js` for sequential tests and commentary on endpoints.