Modified the code so it can be used outside the command easier.
Just initialise TestStartup with the right parameters,
and it will work :)