move test capture into the form