Extracted all test running stuff to dedicated classes