added in some tools tests
added minmax