setup base order functionality and mocks