Separate test command from output