adding test for factories
test orders totals with tips