Add new tests.

Signed-off-by: Serg Brych <sbrych@gmail.com>