Add first few tests for endpoints; some tests are failing right now