Fix basic unit test compilation failures so it can get to the point where it causes a core dump