Test facilities

This pull request contains some facilities for writing unit tests. 
Has been implemented a basic system for create conditions that if aren't satisfied the test will be skipped (test success + warning on the logs) instead of fail.