updated unit tests to test simple min and max value