improving performance tests in order to be used with server side test