optimized tests for server usage and create files for usage on server