make sure we are free'ing all allocated memory outside of julia's gc perview
cleanup merge tests a bit