tests for solditem and stockitem