Properly exit from phantom when tests pass/fail
Merge pull request #15 from rix501/master

Properly exit from phantom when tests pass/fail