clear unit test
fix jshint
need to fix some boundary conditions with server