attachment tests fix