sale item returned cost instead of weight for getWeight
changed travis and added unittests for shipping logic