Programmatically restart application in Jasmine suite.