added legal test case