Self runnable tests

Implements the functionality that makes each avocado test module runnable without the need of using the test runner.