This is most likely due to the following bug... Bug 15958101 - SQL DEVELOPER UNIT TEST DOES NOT VALIDATE CURSOR DATA AS EXPECTED
There is no workaround. Although this has not been assigned a Fix By release, the bug comments indicate both the cause and a code fix are known. Possibly the fix will make it into the next production release.
SQL Developer Team