added test case source code