Add test for set_difference function in algorithm component