test error corrected

Correcting the karma test error: 'pascalprecht.paginator  should return paginator data object FAILED'
check the comments in the spec file.