removes test from p tag