clean bb test lib