Added unit tests. Tests run automatically during
each build.