two tests run for four algorithms