Added test for len(X) to test-battery.