made basePath optional
added more samples to test