refactor :use to :require :refer. cost-func tests.