bugfix: flush and close fout and fin in metrics.js unit test
bugfix: flush and close fout and fin in metrics.js unit test

blazs/qminer,mkarlovc/qminer,blazs/qminer,mkarlovc/qminer,blazs/qminer,blazs/qminer,mkarlovc/qminer,mkarlovc/qminer,mkarlovc/qminer,mkarlovc/qminer,blazs/qminer,blazs/qminer