add first unit tests for prefixtree