Added helper that allows PhantomJS clicks in tests
First and last pages will no longer set next and

previous buttons as 0 and last page + 1

Closes #4