Removes test code from article