Improve test

* max should be different to default
* Fix order of assert_equal
Convert max to integer in #will_paginate?