test(Service): test function prepare