Add subscript operators and test().