Add test case for frames.