set2 unit test: fixed GCC incompatibility