Change order service for work with order history and create test for it.