still, I don't like this idea but it's acceptable. You should isolate testing code in runtime side from other code.