Fixed TiBBTest to run again from Momentics

This is a necessary change that does not affect the build process. It makes the test app work from Momentics, something that broke in the CLI refactored commit.