adding test case for appending to File as this is documented