Rewrite random_search_test.js with coffee.