added test on write 3 components