add int.max/min tests. class cleanup.