Fixed compiled tests. Added hasOwnProperty.