better xdebug check for test