sharing unittest runner implementation