Setup NUnit Unit Testing framework and wrote some test cases.