tests for sales_engine class