Testing fstream features with implementation2.