Testing the automatic order placement, some fixes