added nested concat function test code