Added file stream tests