created base class for testfixture
Refactored tests to use a base class
created class for screenshots when test fail