fixing sets and set tests