minor fixes
rename client test
add error test, check network before post