Add output before slow operations
Add test box
Set name properly when input is box file