Finished unit tests

Signed-off-by: Victor <vwalldev@gmail.com>