testing basket class