add pre and post tests