Include pyramid_tm in the main function

In this way we make sure that pyramid_tm is included in the test app.