Refactor test (dynamic dataset loading) + enhance texttokenizer