restored test to make sure undefined properties don't throw errors