Add row and column selection and test functions.