formatted and fixed test processes