more write test cases