Setting data write test environment