Use ErrorContains for assertions on error messages
Found by coincidence when working on fleeting-plugin-hetzner/fleeting-plugin-hetzner!3, upstreaming this since the ErrorContains
approach should be more in line with what the author of these tests probably intended.
Edited by Per Lundberg