Implemented more tests to check the sort/paging implementation.
Fixed issues in new sort/paging implementation.
Added special log4j.properties which only logs debug level to console.