Testcases for cross operator in new java API