Fixed the testing suite in bubble-sort