Fixed inlining behaviour. This commit vastly improves the performance
of the unit tests in the TX pipeline.