Working on a mock endpoint for unit testing.