Added test function to sales class
modified main class
Merge branch 'desktopTest'