Reorganize test files
Fix tests
Better file extension extraction

Was not working with file containing several '.' (hello.world.fx)
Fix a comparision between string pointers
Output file name on compilation