Persisting primary classes array, gc working properly on test cases.