Added unit test template.
Removed binary.
Integrated the unit tests with automake.