test attach