Switch to assert rather than explicit runtime check
More tests
Rename AIndexedVector
Extra asserts