testing recognition of a cpp type file, a java file