Adding new testcases

Adding testcases to test some functionality.