Fixed Database __main__ test to use new artifactInfo objects, fixed mysql query.