t/annotate-tests: Use echo & cat instead of sed