TRUNK-3944: Downgraded powermock and mockito due to OOM issues