+1 for including this file, I really needed a test case for the endpoint.