Moved common set tests into shared test case.