New unit and functional tests
Merge pull request #3 from Spomky-Labs/Tests

New unit and functional tests