Add hasProperty() method to test base needed by a new unit test

Change-Id: I7e4be9794f44bf8f335ed2ff9dd00bf77e762206