added SideEffect test cases.