Adds unit tests for existing classes.

There wasn't a tests project, so I added one.