Moved PHPUnit logic