Cook praises Ashwin, compares him to former teammate Swann