Add system test to the cabal file so it gets built.  Make the main stream end.  But it still won't exit by itself.