testing category post foreach