fix jshint warnings, add post add,delete,edit,get tests and controllers