tests: Close all fds in startone

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>