refactored test cases
added support for different page for a model