Grabbing test approach from sexy-bash-prompt