Add tests for selection sort