Add tests for out of range access.