added testing style to spiedTest