Improved Configtest, removing bugs