separating skipped from test end and adding interrupt API