Add basic unit tests

i have added the basic unit tests for our further iterative development.