test for selling stocks