Added tests to EntityBadgeTest and AdapterUtilsTest.