added status changes for shippings and fixed tests