added test can write, to check