added basic unit test case