s4 test case lib