Add test for root path and make it pass.