Add problemset_test.

Add regression test for Problemset.
Need to do more.