Set up unit testing and wrote basic initialization tests.