added test capture