Fix comment
Panic if min > max
Add test for panic