Run few tests after restarting restbase

Not sure if this a best way to do this, another way is to return the process id and kill the process later in tests?
let me know what you guys think?