Abstraction on server unittest and a start on the client one