fix algorithm JSON test for good this time