test: Add test for getObjectValues with inherited properties
test: Add test for getObjectValues with inherited properties

Increasing code coverage. Also remove bogus test for numbers
passed to this function; Garbage in, garabage out.

Change-Id: I6ca8943c23e49e49a2fba16f13b19c5855489309

iSCInc/oojs,wikimedia/oojs,wikimedia/oojs