return test result properly

- add sys.exit() to return test result.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>