better executable detection for test base