Simplify tests using string interpolation