Why does it need to be in the same test file at all? That sounds like a test resource that should be in some kind of test material/resources folder where it can be read from.
Of course you can embed binary files as base64, but have you thought if you should
Of course you can embed binary files as base64, but have you thought if you should