Add some endpoint tests.