Add tests for bubble sort