Issue ITTE-529

Added tests on the page bean class, made the class work with any kind of
objects (was only integer previously) and any kind of List ( was only
ArrayList previously)