add more tests (+2 squashed commits)
Squashed commits:
[629494e] skip $page variable
[afeb2ee] Remove int check