Unit and Run tests for selection sort