Added junit runtime test generation
Added php version detection for compatibility tests