updated test6 code for each container