Refined regtest
Fix to SMAC