Add test cases and sample files