test for getOwnPropertyNames