You can use Linux Screen to run tests without maintaining an active shell session.
To do that start Linux Screen by typing screen in the console you can either close the session or hit Ctrl + a , d. To reattach to the screen.
To Reconnect type screen -r .
if you have more than one screens active you can set the screen Id
pick the screen you want and type screen -r {screenId}
example screen – r 17885
If you want to terminate the active screens
type : killall screen