add tests for error interface
add cs test