fix sales engine test error