Update test case

one test function per case