* Added unit tests

Signed-off-by: Fabio Marini <fabio.mariniss@gmail.com>