Finalizes unittests