These things have to be unit tested. In general, whenever you add new general purpose stuff, please write some tests. Same for algorithms