added pagination adapter doctrine test case
fixed tests