Prefix splitting and compaction test added to "trie" test.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>