abstracted the min and max values into variables for maintainability. I'm not sure if this is the Qunit way or not, but it seems fine to me