deal with cowlib test functions