Updated tests for T.max, T.dot