Add test cases

basePath is not so good name, fix basePath to basepath.