add test for basePath option.
Merge pull request #2 from ryiwamoto/add_test_for_base_path

add test for basePath option.