Unittesting for BWT module