Update and improve the test for the length property of interface objects.