Finish libex29 tests
Fixes for mtap
Add mtap to template