Added remainder of unit tests & Controller actions

- added back missing Pagination class
- implemented view tracking