add tests, minor bugfix

- testing: /reseller/ajax is tested
- minor fix: mixed up totalRecords and totalDisplayRecords
- minor fix: remove obsolete todo