Test cases

Add test case for main class