add new tests
add new tests
fix tests
add new tests
add new tests for writers