added BUY command unit tester