Add tests for maven_artifact.py and minor change to path building