Added test to the factory
Added support and tests for basePath
Refactored test names
Bumped the version to 4.2.2