tests: don't use an unrecognised file extensions

The Index.from_source and Index.parse methods do not work properly
with unsaved_files that have a non-standard extension (e.g. *.hxx)
on all versions of libclang, however the behaviour is different
for each.

As such, only the standard `.hpp` and `.cpp` extensions are used
in the tests.