added params as a service, ajusted test case accordingly