Moved all tests to PHPUnit