Fixed broken test API by doing a PUB install/update, did cleanup work, and added test for algorithm