Tests for the status endpoint