make sure binmodel is cleaned at the end of regression tests

Authored by alcinos on Mar 7 2019, 3:13 AM.