Add test for changing content of Qt linguist files

It tests whether file is properly changed and the flag is correctly set.