working simple test case