Added legal test cases