Remove innecesary call to main method in test units.
Revert "Remove innecesary call to main method in test units."

This reverts commit 3603537ca727ec9365ab4c09e3bb23a0525b1ca0.
Revert "Revert "Remove innecesary call to main method in test units.""

This reverts commit bba3401d805e812747099d0f3ae7a735b922f3e0.