Add tests on getMinimum metod.