refactoring tests on server side