Fix shutting down server upon `script/test` completion

Substitute the bash script for server process in `script/server`,
otherwise sending TERM signal to `script/server` for some reason won't
propagate that signal to Ruby subprocess.