[tests] unit tests and corresponding package

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>