test for task that references pre/post by strings