tests: added this.file tests

Impact: low