Improving the confidence of machine learning models through improved software testing approaches