test bubble sort