tests for the root endpoint