Fixes to account and sales_order_workspace mocha tests