MAJOR REFACTORING, now supports parallel testing
Improved fail logging, now prints line nr and line source file for failed actions
Added some comments