repo delete function
fix server unit tests