change topHandler02/topHandler03 tests to use signal_exit_code function

Test Plan: validate

Reviewers: simonmar, austin

Reviewed By: austin

Subscribers: phaskell, simonmar, relrod, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D127