Refactor ssc/tests.