String interpolation implemented with test case