test startup/shutdown in background