added #assertObjectHasKeys method
changed behavior of 'isEmpty'