Add test cases and yml file for CI