test and complete post insert and delete