Unit tests for bubble sort.