Fixed: 
 - Test 1: Check whether exception is called if (i, j) are out of bounds
 - Test 6: Check whether exception is thrown if either N or T is out of bounds
 - Test 8: Check that the methods return the same value, regardless of the order in which they are called