remove unnecessary try block for put
add test baseclass
refactor some helping funcs to utils
added get for pages
null checking for equality on Category
allow pages to be filtered