Test for converting between dense and sparse trie nodes added

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Fix issue #38

timeo test wasn't checking the timeout for nn_send() operation
properly.

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