Added test for silent/detached option.