Unit tests added

Signed-off-by: Luis Pabón <lpabon@redhat.com>