core: Convert ObjectIdentityCheckerTest to JUnit4

Change-Id: If443c443e49c6a268eb305c19bb8b290ee21f75d
Signed-off-by: Allon Mureinik <amureini@redhat.com>