Rough pass at init with partial unit test.

- gcc 4.7 is segfaulting on this. clang 3.2 is running.
I put this into a branch because I'm going to try building this on my
mac that has a more recent gcc.