feature/sales: Tests and enhancements for sales api

Added unit tests for the sales api.  Added default branch to customer api to make the behavior consistent with the FA ui.