Test for getBasePath